Skip to content

Fix TypeScript types#19

Open
danmichaelo wants to merge 1 commit into
chrisveness:mainfrom
danmichaelo:fix-ts-types
Open

Fix TypeScript types#19
danmichaelo wants to merge 1 commit into
chrisveness:mainfrom
danmichaelo:fix-ts-types

Conversation

@danmichaelo
Copy link
Copy Markdown

@danmichaelo danmichaelo commented Jan 23, 2025

Updates the TypeScript types to match the implementation, which only has a default export, not direct export of the four static methods.

Wrapped the methods in declare class Scrypt {} and added export default Scrypt at the end.

Tested with TypeScript 5.6.2 and ESM.

Note: My editor did a little bit of extra whitespace changes, let me know if you prefer to have these reverted.

@nikelborm
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants